<?php
include_once($site_path."/includes/general.php");

function getAllProvince()
{
	$query="SELECT * FROM province";
	return getData($query);
}

function getProvinceLimit($start, $n)
{
	$query="SELECT * FROM province ORDER BY id ASC LIMIT $start,$n";
	return getData($query);
}

function getProvinceId($id)
{
	$query="SELECT * FROM province WHERE id=$id";
	return getData($query);
}

?>